package com.qn.service.serviceimpl;import com.qn.dao.UserDao;import com.qn.dao.daoimpl.UserDaoImpl;import com.qn.domian.User;import com.qn.service.UserService;import com.qn.web.filter.BaseServlet;import javax.swing.*;import java.sql.SQLException;import java.util.List;/** * @since 2020/12/24 8:49   @author 老谢  @version 1.00 * Description */public class UserServiceImpl implements UserService {    UserDao ud = new UserDaoImpl();    @Override    public List<User> findAll() {        return ud.findAll();    }    @Override    public Boolean login(String account, String pwd) {        return ud.login(account,pwd);    }    @Override    public int register(User user) {        return ud.register(user);    }}